﻿using System.Runtime.Serialization;
using ServiceInfrastructure.Models.NewsModels.FilterModels;
using ServiceInfrastructure.Models.NewsModels.Models;

namespace ServiceInfrastructure.Models.NewsModels
{
    [DataContract]
    public class GetNewsByUrlRequest
    {
        [DataMember(Order = 1)]
        public Link KeyLink { get; set; }

        [DataMember(Order = 2)]
        public NewsFilterModel FilterModel { get; set; }
    }
}
